package cn.neusoft.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @Description:供应商退货实体类
 * @Author:邢旭升
 * @Date:2023/7/14 上午 10:29
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReturnedInfo {
    private String allocate_id;

    private Long out_id;

    private Long in_id;

    private String commodity_id;

    private Long amount;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date out_date;

    private String del_flag;

    private String create_by;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date create_time;

    private String update_by;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date update_time;

    private String remark;

    private String order_id;

    private String task_id;

    private String measure;
    private String supplier_name;
    private String commodity_name;
    private Long stock;
}
